//
//  NotesTableViewController.h
//  Cachalot
//
//  Created by Adam Cue on 3/31/11.
//  Copyright Adam Cue 2011.
//
//  This program is licensed and distributed under the terms of the GNU General Public License.  
//	The text for the license can be found in the license.txt file in this project.
//

#import <UIKit/UIKit.h>
#import <CoreData/CoreData.h>
#import "MarineFetcher.h"
#import "Note.h"

@protocol NotesTableViewControllerDelegate
- (void)noteClicked:(Note *)note;
- (void)allNotesEmailed:(NSString *)notesText;
@end

@interface NotesTableViewController : UITableViewController {
	NSArray * _listOfNotes;
	int readingID;
	int lessonID;
	int dimensionOfPage;
	id<NotesTableViewControllerDelegate> delegate;
}

- (void)emailNotes;

@property(nonatomic, retain) NSArray * listOfNotes;
@property int readingID;
@property int lessonID;
@property int dimensionOfPage;
@property(nonatomic, assign) id<NotesTableViewControllerDelegate> delegate;
@end
